package cn.edu.scau.cmi.wuyihan.exercise5;

public class Circle1 {
      double x,y,radius;
      public void setX(double a) {
    	  x=a;
      }
      public double getX() {
    	  return x;
      }
      public void setY(double b) {
    	  y=b;
      }
      public double getY() {
		return y;
	}
      public void setRadius(double r) {
		if(r>0) {
			radius=r;
		}
	}
      public double getRadius() {
    	  return  radius;
      } 
}
